*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;
    color: black;
}
ul{
    list-style: none;
}
#header{
    text-align: center;
    width: 1200px;
    height: 70px;
    margin: 0 auto;
    line-height: 40px;
    border-bottom: 1px dashed #949191;
}
#main{
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
#main #productList li{
    margin-top: 10px;
    height: 330px;
    width: 240px;
    float: left;
    box-sizing: border-box;
    padding: 10px;
}
#main #productList li:hover{
    border: 1px solid #000;
}
#main .p-price strong{
    color: red;
}
#main .p-name a{
    display: inline-block;
    height: 20px;
    width: 230px;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#main .p-addToShoppingCart .addToShoppingCartBtn,.detailsPage{
    width: 80px;
    height: 30px;
    background-color: #fc4343;
    border: none;
    border-radius: 5px;
    color: white;
    margin-left: 20px;
    cursor: pointer;
    float: right;
}
#main .p-addToShoppingCart .detailsPage{
    width: 60px;
    height: 20px;
    float: left;
    background-color: #e07f7f;
}
#carsBtn{
    width: 90px;
    height: 30px;
    background-color: red;
    border: none;
    border-radius: 5px;
    float: right;
}